package com.example.demo.service;

import com.example.demo.entity.Book;
import com.example.demo.entity.BookVO;
import com.example.demo.entity.Jieyue;

import java.util.List;

public interface JieyueService {
    public int jieyue(Book book);
    //查询分页
    List<Book> jieyuepage(BookVO bookVO);
    //查询总条数
    Integer jieyuecount(BookVO bookVO);
    //id查询
    public BookVO xiangqing(Integer id);
    //结束生成记录
    public Integer addjilu(Jieyue jieyue);
    //还书流程
    public int huanshu(Book book);
    //更新还书记录
    public int updatejilu(Jieyue jieyue);
    //用户个人记录
    public  List<BookVO> geren(BookVO bookVO);
}
